package service;

import java.util.ArrayList;

import dao.QuestionDao;
import domain.Question;
import util.MySpring;

public class QuestionService {
	
	//在Server层里需要一个底层的dao的支持
	private QuestionDao dao = MySpring.getBean("dao.QuestionDao");
	
	public ArrayList<Question> getPaper(int count){
		return dao.getPaper(count);
	}
}
